 function duQu(wenJian){
	const fs=require('fs');
	const data = fs.readFileSync(wenJian,'utf8')
	return (data)
}
module.exports=function HTTP(){
	const http=require('http');
	http.createServer(function(request,response){
		response.writeHead(200,{'Content-Type':'text/plain'});
		response.write(duQu("xinJian.txt"));
		response.end();
	}).listen(8000);
}
console.log('Server running on port 8000.')